package com.example.demo2.mapper;

import com.example.demo2.entity.Comparison;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ComparisonMapper {
    @Select("select * from comparison where uID=#{uID}")
    List<Comparison> findComparisonByUID(@Param("uID") Integer uID);
}
